CreateIpv6Gateway
Description
call CreateIpv6Gateway interface to create IPv6 gateway.
Request Method
POST
Request Path
/apsara/route/Vpc/CreateIpv6Gateway
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
Description | BODY | string | No | ipv6gatewayforVPC1 | description information of IPv6 gateway. is 2-256 characters in length and must start with letters or Chinese, can contain numbers, dots (.), underscore (_) and dash (-), but you cannot use http:// or https:// beginning. |
VpcId | BODY | string | Yes | vpc-123456defrde**** | VPC ID of IPv6 gateway to be activated. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
RegionId | BODY | string | Yes | cn-huhehaote | the region of the IPv6 gateway. You can obtain the region ID by calling the DescribeRegions interface. |
ClientToken | BODY | string | No | 123456 | client token to ensure the idempotence of the request. the parameter value is generated by the client, which must be unique between different requests and the maximum value does not exceed 64 ASCII characters. |
Spec | BODY | string | No | Small | IPv6 gateway specifications. Value: Small(default): free version. Medium: enterprise edition. Large: enterprise enhanced version. |
version | BODY | string | No | 2016-01-01 | version of api |
Name | BODY | string | No | ipv6GW | the name of the IPv6 gateway. is 2-128 characters in length and must start with letters or Chinese, can contain numbers, dots (.), underscore (_) and dash (-), but you cannot use http:// or https:// beginning. |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestId | string | 0ED8D006-F706-4D23-88ED-E11ED28DCAC | request ID. |
Ipv6GatewayId | string | ipv6gw-hp3y0l3ln89j8bgnh**** | IPv6 gateway ID. |
Example
Successful Response example
{
"RequestId":"0ED8D006-F706-4D23-88ED-E11ED28DCAC",
"Ipv6GatewayId":"ipv6gw-hp3y0l3ln89j8bgnh****"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}